package com.prs.crm.dao.approval.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.approval.ProcessTypeDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.approval.ProcessType;

public class ProcessTypeDaoImpl extends BaseDaoImpl<ProcessType> implements ProcessTypeDao{

	@Override
	public List<ProcessType> getAllProcessType() {
		Criteria cri = this.getSession().createCriteria(ProcessType.class);
		return cri.list();
	}

}
